Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Make everything validate with flake8 #350

Merged
merged 25 commits into from
Sep 13, 2018
Merged

Make everything validate with flake8 #350

merged 25 commits into from
Sep 13, 2018

Conversation

viklund
Copy link
Member

@viklund viklund commented Sep 12, 2018

This PR makes everything compatible with flake8. Almost all changes are whitespace related.

tox.ini Outdated
commands = flake8 .

[testenv:flake8-tests]
changedir = tests

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could have a single section for flake8 instead one for tests and one for the code, but exclude the directories we don't want e.g.

[flake8]
ignore = E226,E302
exclude =
    docker,
    extras

[testenv:flake8]
deps = flake8
commands = flake8 .

[travis]
unignore_outcomes = True
python =
    3.6: unit_tests, flake8

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see tox-travis for configuring tox for travis

Copy link

@blankdots blankdots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wanted this for quite some time now!

@blankdots blankdots added this to the Sprint 36 milestone Sep 13, 2018
@blankdots blankdots merged commit 727d174 into dev Sep 13, 2018
@blankdots blankdots deleted the feature/flake8ifying branch September 13, 2018 08:34
viklund pushed a commit that referenced this pull request Nov 22, 2018
Make everything validate with flake8
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants